home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / util / boot / bind_namesii.lha / DMakeFile < prev    next >
Makefile  |  1995-09-16  |  1KB  |  47 lines

  1. SRC = Date.c BindNamesII.c AssignNode.c Dos.c
  2. OBJ = $(SRC:*.c:*.o)
  3.  
  4. GCCFLAGS = -noixemul -m68040 -W -Wall -Wshadow -Wpointer-arith  -Wcast-align \
  5. -Waggregate-return -Wnested-externs -Winline -O3
  6. # -fpic
  7.  
  8. All : Rev Proto.h BindNamesII
  9.  
  10. Rev :
  11.     Rev -s -i -p -t
  12.     Set CFLAGS "-s -d1"
  13.  
  14. Proto.h : $(SRC)
  15.     MakeProto -o %(left) %(right)
  16.  
  17. BindNamesII : $(OBJ)
  18.     Dcc $(CFLAGS) -o %(left) %(right)
  19.  
  20. $(OBJ) : $(SRC)
  21.     Dcc -s -d1 -c -o %(left) %(right)
  22.  
  23. $(OBJ) :: AssignNode.h
  24.  
  25. Date.c : Rev.h
  26.  
  27. Release : ReleaseRev Proto.h BindNamesII
  28.     LhA a BindNamesII.LhA $(SRC) *.h DMakeFile BindNamesII(%|.guide|.readme)(%|.info) DCCOPTS
  29.  
  30. ReleaseRev :
  31.     Rev -i -p -t -b
  32.     Set CFLAGS ""
  33.     Copy BindNamesII BindNamesII.ld
  34.  
  35.  
  36. # Definitions to compile with Gcc. Type "DMake Gnu" to do this.
  37.  
  38. $(OBJ:*.o:*_g.o) :: AssignNode.h
  39.  
  40. Gnu : Rev Proto.h GccBindNamesII
  41.  
  42. GccBindNamesII : $(OBJ:*.o:*_g.o)
  43.     Gcc.rexx $(GCCFLAGS) -o %(left) %(right)
  44.  
  45. $(OBJ:*.o:*_g.o) : $(SRC)
  46.     Gcc.rexx $(GCCFLAGS) -c -o %(left) %(right)
  47.